package data;

import java.awt.Graphics2D;

import main.Core;

/**
 * 
 * @author Ygor
 * 
 */
public abstract class SceneObject {
	private Core father;

	public SceneObject(Core c) {
		this.father = c;
	}

	public abstract void Update(double elapsedTime);

	public abstract void Draw(Graphics2D g);

	/**
	 * @return the father
	 */
	public Core getFather() {
		return father;
	}

	/**
	 * @param father
	 *            the father to set
	 */
	public void setFather(Core father) {
		this.father = father;
	}

}
